package longtime;

import java.util.Scanner;

public class ifelseif {
    public static void main(String[] args) {
        System.out.println("请输入学生的成绩");
        Scanner sc = new Scanner(System.in);
        int source = sc.nextInt();
        if (source >= 90 & source < 100){
            System.out.println("优秀");
        }else if (source >= 80){
            System.out.println("良好");
        }else if (source >= 70){
            System.out.println("中等");
        }else if (source >= 60){
            System.out.println("合格");
        }else if (source < 60){
            System.out.println("不及格");
        }
    }
}
